home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
imdmonitor.z
/
imdmonitor
Wrap
Text File
|
1998-10-20
|
4KB
|
133 lines
IIIIMMMMDDDDMMMMOOOONNNNIIIITTTTOOOORRRR((((1111MMMM)))) IIIIMMMMDDDDMMMMOOOONNNNIIIITTTTOOOORRRR((((1111MMMM))))
NNNNAAAAMMMMEEEE
imdmonitor - daemon that monitors filesystems and launches alerts
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
////uuuussssrrrr////ssssbbbbiiiinnnn////iiiimmmmddddmmmmoooonnnniiiittttoooorrrr
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_i_m_d_m_o_n_i_t_o_r runs in the background and monitors available space on mounted
filesystems and requests for message alerts from the _s_y_s_m_o_n(_1_M) facility.
When it detects a condition requiring a graphical alert notifier, it uses
_f_o_r_k(_2) to launch a new process to post the notifier. The
/_u_s_r/_l_i_b/_s_y_s_m_o_n/_e_r_r_h_o_o_k program posts the notifier.
_i_m_d_m_o_n_i_t_o_r is launched at login from the /_v_a_r/_X_1_1/_x_d_m/_X_s_e_s_s_i_o_n._d_t script.
It is not intended to be run directly by end users. It establishes a
connection to the X server, and exits automatically when that connection
is closed (typically when the desktop user logs out).
Default filesystem monitoring is to notify when any mounted, writable
filesystem becomes more than 95% full. _i_m_d_m_o_n_i_t_o_r will notify a second
time when half the remaining space has been used and will notify a third
time when all the space is used.
The monitoring configuration can be changed with the "Set Space
Monitoring" task, available in the system manager from the "Files and
Data" section. The system manager can be launched from the toolchest
(System > System Manager).
FFFFIIIILLLLEEEESSSS
$HOME/.desktophost/<hostname>/fsNotifyConfig
/var/adm/sysmon.msg
/etc/mtab
The _i_m_d_m_o_n_i_t_o_r program uses _f_a_m(_3_X) to watch three files and reacts when
they change. The file $_H_O_M_E/._d_e_s_k_t_o_p_h_o_s_t/<_h_o_s_t_n_a_m_e>/_f_s_N_o_t_i_f_y_C_o_n_f_i_g
defines the percentage full for each filesystem the user wants monitored.
The "Set Space Monitoring" task records the user's preferences to this
file. When this file changes, _i_m_d_m_o_n_i_t_o_r updates its internal monitoring
levels.
The file /_v_a_r/_a_d_m/_s_y_s_m_o_n._m_s_g contains the latest system alert message
generated by _s_y_s_m_o_n. When this file changes, _i_m_d_m_o_n_i_t_o_r posts the file's
contents in an error dialog.
The file /_e_t_c/_m_t_a_b contains the list of filesystems to monitor. When
this file changes, _i_m_d_m_o_n_i_t_o_r stop monitoring filesystems no longer in
the list and begins monitoring new filesystems that were added to the
list.
PPPPaaaaggggeeee 1111
IIIIMMMMDDDDMMMMOOOONNNNIIIITTTTOOOORRRR((((1111MMMM)))) IIIIMMMMDDDDMMMMOOOONNNNIIIITTTTOOOORRRR((((1111MMMM))))
For information about the entire IRIX Interactive Desktop environment,
see the _I_I_D(_1) man page.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
sysmon(1M), xserver(1), IID(1), fork(2), fam(3X)
NNNNOOOOTTTTEEEESSSS
To see notification dialogs, the user must make sure that system alerts
are enabled (Desktop > Customize > System Alerts).
PPPPaaaaggggeeee 2222